package com.kingzoon.seckill.dao;

import com.kingzoon.seckill.entity.AclPermission;
import com.kingzoon.seckill.entity.AclPermissionExample;
import com.kingzoon.seckill.entity.AclPermissionKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AclPermissionMapper {
    int countByExample(AclPermissionExample example);

    int deleteByExample(AclPermissionExample example);

    int deleteByPrimaryKey(AclPermissionKey key);

    int insert(AclPermission record);

    int insertSelective(AclPermission record);

    List<AclPermission> selectByExample(AclPermissionExample example);

    AclPermission selectByPrimaryKey(AclPermissionKey key);

    int updateByExampleSelective(@Param("record") AclPermission record, @Param("example") AclPermissionExample example);

    int updateByExample(@Param("record") AclPermission record, @Param("example") AclPermissionExample example);

    int updateByPrimaryKeySelective(AclPermission record);

    int updateByPrimaryKey(AclPermission record);
}